﻿using System;
using System.Diagnostics;
using EasyNetQ;

namespace Nl.RabbitMq.Demo.EasyNetQWrapper
{
    public class CustomMqLogger: IEasyNetQLogger
    {
        public void DebugWrite(string format, params object[] args)
        {
            Debug.WriteLine(format);
        }

        public void InfoWrite(string format, params object[] args)
        {
            Debug.WriteLine(format);
        }

        public void ErrorWrite(string format, params object[] args)
        {
            Debug.WriteLine(format);
        }

        public void ErrorWrite(Exception exception)
        {
            Debug.WriteLine(exception.ToString());
        }
    }
}